<template>
	<view style="background-color: #FFFFFF;">
		<view v-html="ruleInfo" style="padding: 30rpx;color: #000;">
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				ruleInfo:''
			};
		},
		onLoad() {
			this.getArticle()
		},
		methods:{
			/**
			 * 获取用户协议
			 */
			async getArticle() {
				let res = await this.$util.request({
					url: '/mobile/index.php?act=document&op=index',
					method: 'get',
					data:{
						did:11
					}
				});
				if (res.error_code == 0) {
					this.ruleInfo = res.datas.content;
				} else {
					uni.showToast({
						title: res.message,
						icon: 'none'
					});
				}
			}
		}
	}
</script>

<style lang="scss">

</style>
